package com.app.designpatternslearn.behavior.templatepattern.code

abstract class Game {
    abstract fun init()
    abstract fun startPlay()
    abstract fun endPlay()

    fun play() {

        init()
        startPlay()
        endPlay()

    }

}